﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace SystemLYH.API.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class ApolloController1 : ControllerBase
    {
        [HttpGet]
        [Route("Apollo")]
        public IActionResult ApolloTest([FromServices] IConfiguration configuration,string key)
        {
            var elkConfig = configuration[key];
            return Ok(elkConfig);
        }
    }
}
